package roslan.musicbox.data;

public class AbstractMusicTag {
	protected String title;
	protected String album;
	protected String year;
	protected String genre;
	protected String artist;
	protected String comment;
	protected String trackNumber;
	
	public AbstractMusicTag clone(){
		AbstractMusicTag tag = new AbstractMusicTag();
		tag.title = this.title;
		tag.album = this.album;
		tag.year = this.year;
		tag.genre = this.genre;
		tag.artist = this.artist;
		tag.comment = this.comment;
		tag.trackNumber = this.trackNumber;
		return tag;
	}
	
	public String getTitle(){
		return title;
	}
	
	public String getAlbum(){
		return album;
	}
	
	public String getYear(){
		return year;
	}
	
	public String getGenre(){
		return genre;
	}
	
	public String getArtist(){
		return artist;
	}
	
	public String getComment(){
		return comment;
	}
	
	public String getTrackNumber(){
		return trackNumber;
	}
	
	public void setTitle(String title){
		this.title = title;
	}
	
	public void setAlbum(String album){
		this.album = album;
	}
	
	public void setYear(String year){
		this.year = year;
	}
	
	public void setArtist(String artist){
		this.artist = artist;
	}
	
	public void setGenre(String genre){
		this.genre = genre;
	}
	
	public void setTrackNumber(String trackNumber){
		this.trackNumber = trackNumber;
	}
	
	public void setComment(String comment){
		this.comment = comment;
	}
	
	public String toString(){
		return "[Title: "+title+"], "+
			   "[Album: "+album+"], "+
			   "[Year: "+year+"], "+
			   "[Artist: "+artist+"], "+
			   "[Genre: "+genre+"], "+
			   "[TrackNumber: "+trackNumber+"], "+
			   "[Comment: "+comment+"].";
	}
}

